Bug 346800 - Rework sort/filter models to use indices to parents...
authorKristian Rietveld <kris@gtk.org>
Sun, 6 Sep 2009 11:35:37 +0000 (13:35 +0200)
committerKristian Rietveld <kris@gtk.org>
Sun, 6 Sep 2009 12:12:46 +0000 (14:12 +0200)
commita59c39f3703e81f560aa946c25145413192d795b
treedd536014c050455c5a904141071315fb8fff2a3c
parent143b06c9d38d058bc7f632b00865b5acea30449d
Bug 346800 - Rework sort/filter models to use indices to parents...

Rework the sort and filter models to store their reference to the parent
element as an array index instead of a pointer to an array element.
These pointers could become invalid with any array modification, whereas
indices do not.
gtk/gtktreemodelfilter.c
gtk/gtktreemodelsort.c